package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Appointment;
import cn.wolfcode.car.business.qo.AppointmentQuery;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AppointmentMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Appointment appointment);

    Appointment selectByPrimaryKey(Long id);

    List<Appointment> selectAll();

    void updateByPrimaryKey(Appointment appointment);

    List<Appointment> selectForList(AppointmentQuery qo);

    void changeStatus(@Param("id") Long id, @Param("status") Integer statusCancel);

    void falseDelete(Long dictId);


    void arrival(@Param("statusArrival") Integer statusArrival, @Param("date") Date date,@Param("id") Long id);
}